using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN PhanNganhSinhVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: PhanNganhSinhVienEntity</para>
	/// <para>Description: ClassPhanNganhSinhVienEntity store data of table PhanNganhSinhVien</para>
	///</summary>

	[DataContract]
	public partial class PhanNganhSinhVienEntity{


		private bool _InternalChangedIsNullPhanNganhSinhVien_ID=true;
		private bool _IsNullPhanNganhSinhVien_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullNganhHoc_ID=true;
		private bool _IsNullNganhHoc_ID=true;
		private bool _InternalChangedIsNullKhoaHoc_ID=true;
		private bool _IsNullKhoaHoc_ID=true;
		private bool _InternalChangedIsNullHeDaoTao_ID=true;
		private bool _IsNullHeDaoTao_ID=true;
		private int _PhanNganhSinhVien_ID;
		private int _SinhVien_ID;
		private int _NganhHoc_ID;
		private int _KhoaHoc_ID;
		private int _HeDaoTao_ID;
		[DataMember]
		public bool IsNullPhanNganhSinhVien_ID{
			get{return _IsNullPhanNganhSinhVien_ID;}
			set{if(!_InternalChangedIsNullPhanNganhSinhVien_ID)_IsNullPhanNganhSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullNganhHoc_ID{
			get{return _IsNullNganhHoc_ID;}
			set{if(!_InternalChangedIsNullNganhHoc_ID)_IsNullNganhHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullKhoaHoc_ID{
			get{return _IsNullKhoaHoc_ID;}
			set{if(!_InternalChangedIsNullKhoaHoc_ID)_IsNullKhoaHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHeDaoTao_ID{
			get{return _IsNullHeDaoTao_ID;}
			set{if(!_InternalChangedIsNullHeDaoTao_ID)_IsNullHeDaoTao_ID=value;}
		}
		[DataMember]
		public int PhanNganhSinhVien_ID{
			get{return _PhanNganhSinhVien_ID;}
			set{
				_PhanNganhSinhVien_ID=value;
				if(_PhanNganhSinhVien_ID!=null){
					_IsNullPhanNganhSinhVien_ID=false;
					_InternalChangedIsNullPhanNganhSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int NganhHoc_ID{
			get{return _NganhHoc_ID;}
			set{
				_NganhHoc_ID=value;
				if(_NganhHoc_ID!=null){
					_IsNullNganhHoc_ID=false;
					_InternalChangedIsNullNganhHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int KhoaHoc_ID{
			get{return _KhoaHoc_ID;}
			set{
				_KhoaHoc_ID=value;
				if(_KhoaHoc_ID!=null){
					_IsNullKhoaHoc_ID=false;
					_InternalChangedIsNullKhoaHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HeDaoTao_ID{
			get{return _HeDaoTao_ID;}
			set{
				_HeDaoTao_ID=value;
				if(_HeDaoTao_ID!=null){
					_IsNullHeDaoTao_ID=false;
					_InternalChangedIsNullHeDaoTao_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END PhanNganhSinhVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

